<template>
  <div>
    <el-row>
      <el-col span="3" style="background-color: rgba(154,247,244,0)">
        <img src="../../../../assets/indexLook.png"  height="59px"  width="300px" >
<!--        <p>人力资源管理</p>-->
      </el-col>
      <el-col span="2" offset="18">
<!--        <el-button type="text" @click="dialogVisible = true">点击打开 Dialog</el-button>-->
        <el-dropdown>
          <i class="el-icon-user"></i>
          <span style="color: azure">欢迎登录</span>
          <el-dropdown-menu slot="dropdown">
            <el-dropdown-item>修改密码</el-dropdown-item>
            <el-dropdown-item><router-link to="/Home">注销</router-link></el-dropdown-item>
          </el-dropdown-menu>
        </el-dropdown>
      </el-col>
    </el-row>
    <el-dialog
      title="提示"
      :visible.sync="dialogVisible"
      width="30%"
      :before-close="handleClose">
      <span>这是一段信息</span>
      <span slot="footer" class="dialog-footer">
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
  export default {
    name: "Head",
    data() {
      return {
        logo:require('../../../../assets/logo.png'),
        dialogVisible: false
      };
    },
    methods: {
      handleClose(done) {
        this.$confirm('确认关闭？')
          .then(_ => {
            done();
          })
          .catch(_ => {});
      },
      components: {}
    }
  }
</script>

<style scoped>

</style>
